package com.duqc.freemarker;

import lombok.Data;

/**
 * @ClassName Attribute
 * @Description 数据库表字段属性
 * @Author duqc
 * @Date 2021/3/2
 **/
@Data
public class Attribute {
    /**
     * 字段类型
     */
    private String type;
    /**
     * 字段名称
     */
    private String name;
    /**
     * 字段注释
     */
    private String remark;
    /**
     * mysql字段类型
     */
    private String columnType;
    /**
     * mysql字段名称
     */
    private String columnName;

    Attribute() {

    }

    Attribute(String type, String name, String remark, String columnName) {
        this.type = type;
        this.name = name;
        this.remark = remark;
        this.columnName = columnName;
    }

}
